package com.tarena.lbs.mapper;

import com.tarena.lbs.dto.UserQuery;
import com.tarena.lbs.dto.UserSelectQuery;
import com.tarena.lbs.entity.User;
import com.tarena.lbs.vo.UserVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {
    UserVO login(UserQuery userQuery);

    void reg(User user);

    void update(User user);

    List<UserVO> select(UserSelectQuery userSelectQuery);
}
